<%--
  Created by IntelliJ IDEA.
  User: 吴超
  Date: 2022/4/15
  Time: 14:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
页面1

<%
    pageContext.setAttribute("name","页面1");
    request.getRequestDispatcher("page2.jsp").forward(request,response);
%>
</body>
</html>
